package com.example.hospital.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(name = "PatientQuery", description = "患者查询参数")
public class PatientQuery {
    @Schema(description = "患者姓名(模糊查询)")
    private String name;
    private String gender;
    @Schema(description = "筛选开始时间,对应birth_date")
    private String startDate;
    @Schema(description = "筛选结束时间,对应birth_date")
    private String endDate;
    private String phoneNumber;
    @Schema(description = "患者地址(模糊查询)")
    private String address;
    private String email;
}
